package ${serviceUrl};

import ${entityUrl}.${entityName};
import ${entityResponseUrl}.${entityResponseName};
<#list pkgs as ps>
    <#if ps??>
import ${ps};
    </#if>
</#list>
import java.util.List;

/**
 */
public interface ${entityName}Service {
    ${entityName} findEntityById(Long id);

    ${entityResponseName} findResponseById(Long id);

    Long saveEntity(${entityName} param);

    Long save(${methodParams});

    Boolean updateByPrimaryKeySelective(${entityName} param);

    List<${entityName}> findEntityByTenantId(Long tenantId);
}